package com.shensi.api.pay.client;

import com.shensi.common.core.constant.CloudConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

@Api(tags = "油价信息")
@FeignClient(name = CloudConstant.PAY_SERVER, path = "/oilPrice")
public interface OilClient {


    @ApiOperation(value = "查询油站价格")
    @GetMapping("/getOilPrice")
    @ResponseBody
    public String getOilPrice(@RequestParam("stationId") String stationId);



}
